#include "CANPar.h"
#include "QDebug"


int nDeviceType; /* USBCAN-II */
int nDeviceInd ;
int nReserved;
DWORD dwRel_open;
DWORD dwRel_init,CAN2_dwRel_init;
DWORD dwRel_start,can2_dwRel_start;
DWORD dwRel_read,can2_dwRel_read;
INIT_CONFIG init_config,can_1_init_config;
CAN_OBJ vco[100],CAN2_vco[100];
quint32 RE_CAN1_ID;      //读到的CANID
quint32 RE_CAN2_ID;      //读到的CANID
quint8 RE_CAN1_Data[8];  //读到的CAN数据
quint8 RE_CAN2_Data[8];  //读到的CAN数据
quint64 RE_CAN1_Time;    //设备读到时间
quint64 RE_CAN2_Time;    //设备读到时间
qint32 column_can,column_can2;  //构建CANID列表的行号
QStringList list_CANID,list_CAN2ID;  //构建一个CANID的表
quint32 canDxtime,can2Dxtime;
quint32 CAN_RT[1000],CAN2_RT[1000];
quint32 CAN_RTdex[1000],CAN2_RTdex[1000];
quint32 CAN_ST[1000],CAN2_ST[1000];
quint32 CAN_count[1000],CAN2_count[1000];
QStandardItemModel modelcan,modelcan2;
quint8 can_save;
QString canfileName;
quint8 CAN_send_control_0,CAN_send_control_1,CAN_send_control_2,CAN_send_control_3,CAN_send_control_4;
